home *** CD-ROM | disk | FTP | other *** search
/ BBS in a Box 22 / AMUG_22-1.ISO / Files / Internet / Web Things / HTML 201.sit / HTML 201 / HTML 201.rsrc / TEXT_134.txt < prev    next >
Encoding:
Text File  |  1996-03-13  |  1.6 KB  |  63 lines

  1.  
  2. Drill 4
  3.  
  4. Links to other sites on the WWW
  5.  
  6. Open the HTML document you have been working on. Here is mine:
  7.  
  8. <HTML>
  9. <HEAD>
  10. <TITLE>
  11. George's page of lists
  12. </TITLE>
  13. </HEAD>
  14. <BODY>
  15. <H1>George's page of lists</H1>
  16. <P>
  17. <HR>
  18. <P> 
  19. This is my page of lists. It contains lists of things I like. But first let's define what a list is:
  20. <P> 
  21. <DL>
  22. <DT>List
  23. <DD>A series of words.
  24. </DL>
  25. <P>
  26. Here is a list of things I like to do:
  27. <P>
  28. <UL>
  29. <LI>reading
  30. <LI>skiing
  31. <LI>hiking
  32. <LI>running
  33. </UL>
  34. <P>
  35. Here is a list of my favorite foods in order:
  36. <P>
  37. <OL>
  38. <LI>sushi
  39. <LI>burritos
  40. <LI>deep dish pizza
  41. <LI>spinach salad
  42. </OL>
  43. <P>  --------------> This is where I will insert the link code.
  44. </BODY>
  45. </HTML>
  46.  
  47. Now we will add a link to another page. In the interest of saving space I will only show the code that I use and not the entire document. This code will be inserted after the last <P> tag. Refer to lists.html to view the entire page of code.
  48.  
  49. The link code
  50.  
  51. This is my favorite list of all:
  52. <P>
  53. <A HREF="http://www.cbs.com/lateshow/ttlist.html">Letterman's Top Ten List </A>
  54. <P>
  55.  
  56. Save your document and then open it with your browser. You should see the text you added plus the text that is between the anchor tags should be a different color and underlined. This tells you the link is active.
  57.  
  58. Note: If you click on this link now, it will only connect you to the site if you have internet access open. Otherwise it will  give you some sort of error message depending on the browser you use.
  59.  
  60. If you do not see something similar to what I described then refer back to the troubleshooting tips in drills 1-3.
  61.  
  62. Drill 5 is next.
  63.